


export class ItemInfoModel {
    gold: number   //金币
    exp: number   //经验
    diamond: number //广告劵
    vipExp: number //vip经验
    soul: number //魂点
    soul0: number //灵魂1
    soul1: number //灵魂1
    soul2: number //灵魂2
    soul3: number //灵魂3
    soul4: number //灵魂4
    worship: number//祭祀点
    frontScore: number//闯阵积分
    tradeScore: number//荣耀值
    constructor(opts: any = {}) {
        this.gold = opts.gold || 0
        this.exp = opts.exp || 0
        this.diamond = opts.diamond || 0
        this.vipExp = opts.vipExp || 0
        this.soul = opts.soul || 0
        this.soul0 = opts.soul0 || 0
        this.soul1 = opts.soul1 || 0
        this.soul2 = opts.soul2 || 0
        this.soul3 = opts.soul3 || 0
        this.soul4 = opts.soul4 || 0
        this.worship = opts.worship || 0
        this.frontScore = opts.frontScore || 0
        this.tradeScore = opts.tradeScore || 0
    }
}

